package com.ruoyi.zhgd.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.zhgd.domain.NLaboratoryMechanicsPressMachine;
import com.ruoyi.zhgd.domain.bo.NLaboratoryMechanicsPressMachineBo;
import com.ruoyi.zhgd.domain.vo.NLaboratoryMechanicsPressMachineVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 力学实验室压力机上传数据Mapper接口
 *
 * @author zyb
 * @date 2023-09-11
 */
public interface NLaboratoryMechanicsPressMachineMapper extends BaseMapperPlus<NLaboratoryMechanicsPressMachineMapper, NLaboratoryMechanicsPressMachine, NLaboratoryMechanicsPressMachineVo> {

    /**
     * 压力机设备列表
     * @param build
     * @param bo
     * @return
     */
    Page<NLaboratoryMechanicsPressMachineVo> page(Page<Object> build, @Param("bo") NLaboratoryMechanicsPressMachineBo bo);

    /**
     * 获取压力机明细统计列表
     * @param ids
     * @return
     */
    List<NLaboratoryMechanicsPressMachineVo> getDetailInfo(@Param("ids") List<String> ids);
}
